package io.renren.modules.project.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.project.dao.ProjectStageDao;
import io.renren.modules.project.entity.ProjectStageEntity;
import io.renren.modules.project.service.ProjectStageService;



@Service("projectStageService")
public class ProjectStageServiceImpl implements ProjectStageService {
	@Autowired
	private ProjectStageDao projectStageDao;
	
	@Override
	public ProjectStageEntity queryObject(String id){
		return projectStageDao.queryObject(id);
	}
	
	@Override
	public List<ProjectStageEntity> queryList(Map<String, Object> map){
		return projectStageDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return projectStageDao.queryTotal(map);
	}
	
	@Override
	public void save(ProjectStageEntity projectStage){
		projectStageDao.save(projectStage);
	}
	
	@Override
	public void update(ProjectStageEntity projectStage){
		projectStageDao.update(projectStage);
	}
	
	@Override
	public void delete(String id){
		projectStageDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		projectStageDao.deleteBatch(ids);
	}
	
}
